import './frame.less'
import React, { Component } from 'react'
import LeftSider from '../LeftSider'
import Header from '../Header'

export default class Frame extends Component {
    render() {
        return (
            <div className='page'>
                <div className='leftBox'>
                    <LeftSider />
                </div>

                <div className="mobileHeader">
                    <Header />
                </div>
                <main className='mainContainer'>
                    <div className="contentContainer">
                        {this.props.children}
                    </div>
                    <footer className='mainFooter'>
                        &copy;{new Date().getFullYear()}-foriL &nbsp;&nbsp;
                        NJU内网
                    </footer>
                </main>
            </div>
        )
    }
}
